package com.ruoyi.purchase.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * purchase对象 zs_purchase_process
 * 
 * @author ruoyi
 * @date 2022-03-17
 */
public class ZsPurchaseProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购订单id */
    private Long id;

    /** 采购商品 */
    @Excel(name = "采购商品")
    private String purchaseName;

    /** 型号 */
    @Excel(name = "型号")
    private String type;

    /** 采购单价 */
    @Excel(name = "采购单价")
    private BigDecimal purchasePrice;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private Long purchaseCount;

    /** 采购总额 */
    @Excel(name = "采购总额")
    private BigDecimal purchaseMoney;

    /** 采购厂家 */
    @Excel(name = "采购厂家")
    private String purchaseCompany;

    /** 厂家联系人 */
    @Excel(name = "厂家联系人")
    private String companyPeople;

    /** 厂家电话 */
    @Excel(name = "厂家电话")
    private String companyPhone;

    /** 采购人员 */
    @Excel(name = "采购人员")
    private String purchasePeople;

    /** 交货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date goodTime;

    /** 交易方式 */
    @Excel(name = "交易方式")
    private String dealType;

    /** 发票 */
    @Excel(name = "发票")
    private String bill;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String payTime;

    /** 采购部审批 */
    @Excel(name = "采购部审批")
    private String purchasePass;

    /** 财务部审批 */
    @Excel(name = "财务部审批")
    private String moneyPass;

    /** 其他说明 */
    @Excel(name = "其他说明")
    private String other;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPurchaseName(String purchaseName) 
    {
        this.purchaseName = purchaseName;
    }

    public String getPurchaseName() 
    {
        return purchaseName;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setPurchasePrice(BigDecimal purchasePrice) 
    {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getPurchasePrice() 
    {
        return purchasePrice;
    }
    public void setPurchaseCount(Long purchaseCount) 
    {
        this.purchaseCount = purchaseCount;
    }

    public Long getPurchaseCount() 
    {
        return purchaseCount;
    }
    public void setPurchaseMoney(BigDecimal purchaseMoney) 
    {
        this.purchaseMoney = purchaseMoney;
    }

    public BigDecimal getPurchaseMoney() 
    {
        return purchaseMoney;
    }
    public void setPurchaseCompany(String purchaseCompany) 
    {
        this.purchaseCompany = purchaseCompany;
    }

    public String getPurchaseCompany() 
    {
        return purchaseCompany;
    }
    public void setCompanyPeople(String companyPeople) 
    {
        this.companyPeople = companyPeople;
    }

    public String getCompanyPeople() 
    {
        return companyPeople;
    }
    public void setCompanyPhone(String companyPhone) 
    {
        this.companyPhone = companyPhone;
    }

    public String getCompanyPhone() 
    {
        return companyPhone;
    }
    public void setPurchasePeople(String purchasePeople) 
    {
        this.purchasePeople = purchasePeople;
    }

    public String getPurchasePeople() 
    {
        return purchasePeople;
    }
    public void setGoodTime(Date goodTime) 
    {
        this.goodTime = goodTime;
    }

    public Date getGoodTime() 
    {
        return goodTime;
    }
    public void setDealType(String dealType) 
    {
        this.dealType = dealType;
    }

    public String getDealType() 
    {
        return dealType;
    }
    public void setBill(String bill) 
    {
        this.bill = bill;
    }

    public String getBill() 
    {
        return bill;
    }
    public void setPayTime(String payTime) 
    {
        this.payTime = payTime;
    }

    public String getPayTime() 
    {
        return payTime;
    }
    public void setPurchasePass(String purchasePass) 
    {
        this.purchasePass = purchasePass;
    }

    public String getPurchasePass() 
    {
        return purchasePass;
    }
    public void setMoneyPass(String moneyPass) 
    {
        this.moneyPass = moneyPass;
    }

    public String getMoneyPass() 
    {
        return moneyPass;
    }
    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("purchaseName", getPurchaseName())
            .append("type", getType())
            .append("purchasePrice", getPurchasePrice())
            .append("purchaseCount", getPurchaseCount())
            .append("purchaseMoney", getPurchaseMoney())
            .append("purchaseCompany", getPurchaseCompany())
            .append("companyPeople", getCompanyPeople())
            .append("companyPhone", getCompanyPhone())
            .append("purchasePeople", getPurchasePeople())
            .append("goodTime", getGoodTime())
            .append("dealType", getDealType())
            .append("bill", getBill())
            .append("payTime", getPayTime())
            .append("purchasePass", getPurchasePass())
            .append("moneyPass", getMoneyPass())
            .append("other", getOther())
            .toString();
    }
}
